package io.renren.service;

import io.renren.entity.Zan;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-09-19 10:57:58
 */
public interface ZanService {

    Zan queryObject(Long userId);

    List<Zan> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(Zan zan);

    void update(Zan zan);

    void delete(Long userId);

    void deleteBatch(Long[] userIds);

    void updateZans(Long userId, Long videoId, String status);
}
